﻿import com.dinmax.flash.central.extension.state.*
import com.dinmax.flash.central.extension.user.*


class Disabled extends State {
	
	private var user:User;
	private var name:String = DISABLED;
	private var description:String = "offline";

	function Disabled(time:Date, user:User){
	super(time);
	this.user = user;
	//trace(time);
	};

	public function isDisabled():Boolean {
		return true;
	}; //fin funci
	public function getUser():User {
		return user;
	}; //fin funci
	public function setUser(user:User):Void {
		this.user = user;
	}; //fin funci
}; // fin de clase